package c.e.a.a.f.p.i;

import c.b.a.a.a;
import c.e.a.a.f.e;
import c.e.a.a.f.h;
import java.util.Objects;

/* compiled from: AutoValue_PersistedEvent */
public final class b extends h {
    public final long a;
    public final h b;
    public final e c;

    public b(long j, h hVar, e eVar) {
        this.a = j;
        Objects.requireNonNull(hVar, "Null transportContext");
        this.b = hVar;
        Objects.requireNonNull(eVar, "Null event");
        this.c = eVar;
    }

    public e a() {
        return this.c;
    }

    public long b() {
        return this.a;
    }

    public h c() {
        return this.b;
    }

    public boolean equals(Object obj) {
        boolean z = true;
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof h)) {
            return false;
        }
        h hVar = (h) obj;
        if (!(this.a == hVar.b() && this.b.equals(hVar.c()) && this.c.equals(hVar.a()))) {
            z = false;
        }
        return z;
    }

    public int hashCode() {
        long j = this.a;
        return this.c.hashCode() ^ ((((((int) (j ^ (j >>> 32))) ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003);
    }

    public String toString() {
        StringBuilder g = a.g("PersistedEvent{id=");
        g.append(this.a);
        g.append(", transportContext=");
        g.append(this.b);
        g.append(", event=");
        g.append(this.c);
        g.append("}");
        return g.toString();
    }
}
